Skip to content

Add Fantom integration test for SectionList#55834

Open
sammy-SC wants to merge 7 commits intofacebook:mainfrom
sammy-SC:export-D94887790
Open

Add Fantom integration test for SectionList#55834
sammy-SC wants to merge 7 commits intofacebook:mainfrom
sammy-SC:export-D94887790

Conversation

@sammy-SC
Copy link
Contributor

@sammy-SC sammy-SC commented Mar 2, 2026

Summary:
Converts the SectionList Jest snapshot tests to Fantom integration
tests covering empty lists, empty section headers, list/section
footers, and multi-section rendering. Tests that depend on jest.fn()
for separator components are omitted as module mocking is unavailable
in Fantom.

Changelog: [Internal]

Differential Revision: D94887790

sammy-SC added 7 commits March 2, 2026 03:16
Summary:
Add a Fantom integration test for `SafeAreaView` that verifies the
component renders correctly with children.

Changelog: [Internal]

Differential Revision: D94887194
Summary:
Converts the Jest snapshot tests for TouchableNativeFeedback to
Fantom integration tests, covering rendering, disabled prop, and
accessibilityState merging behavior.

Changelog: [Internal]

Differential Revision: D94887406
Summary:
Converts the Jest snapshot test for ProgressBarAndroid to a Fantom
integration test, covering rendering with various styleAttr values,
determinate/indeterminate progress, animating prop, and testID
propagation.

Changelog: [Internal]

Differential Revision: D94887422
Summary:
Converts the Jest snapshot tests for TouchableHighlight to Fantom
integration tests, covering rendering, accessible prop, disabled prop,
and accessibilityState merging behavior. The displayName check (a pure
JS property assertion) is omitted as it has no Fantom equivalent.

Changelog: [Internal]

Differential Revision: D94887620
Summary:
Converts the ref-callback stability tests to Fantom, replacing
react-test-renderer create/update with Fantom.createRoot() +
Fantom.runTask(). Tests verify same-reference and new-reference
behavior for ref callbacks across re-renders.

Changelog: [Internal]

Differential Revision: D94887732
Summary:
Converts the HTMLCollection Jest tests to Fantom. toThrow(TypeError)
replaced with toThrow() due to Fantom's limited Jest API.

Changelog: [Internal]

Differential Revision: D94887759
Summary:
Converts the SectionList Jest snapshot tests to Fantom integration
tests covering empty lists, empty section headers, list/section
footers, and multi-section rendering. Tests that depend on jest.fn()
for separator components are omitted as module mocking is unavailable
in Fantom.

Changelog: [Internal]

Differential Revision: D94887790
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants